package aaa;

import java.util.ArrayList;
import java.util.List;

public class Data {

    public static List options = new ArrayList<>();

    public static String sourceCode;

    static {

        options.add("-source");
        options.add("1.8");
        options.add("-target");
        options.add("1.8");
//        options.add("-cp");
//        options.add("C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\charsets.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\access-bridge-64.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\cldrdata.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\dnsns.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\jaccess.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\jfxrt.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\localedata.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\nashorn.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\sunec.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\sunjce_provider.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\sunmscapi.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\sunpkcs11.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\ext\\zipfs.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\jce.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\jfr.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\jfxswt.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\jsse.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\management-agent.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\resources.jar;\n" +
//                "C:\\Users\\aye\\.jdks\\corretto-1.8.0_322\\jre\\lib\\rt.jar;\n" +
//                "C:\\Users\\aye\\Downloads\\源码\\源码\\untitled\\target\\classes;\n" +
//                "C:\\Users\\aye\\Downloads\\源码\\源码\\untitled\\class;\n" +
//                "C:\\Users\\aye\\.m2\\repository\\com\\baidu\\jprotobuf-protoparser\\1.0.1\\jprotobuf-protoparser-1.0.1.jar;\n" +
//                "C:\\Users\\aye\\.m2\\repository\\com\\baidu\\jprotobuf\\1.13.3\\jprotobuf-1.13.3.jar;\n" +
//                "C:\\Users\\aye\\.m2\\repository\\com\\google\\protobuf\\protobuf-java\\2.5.0\\protobuf-java-2.5.0.jar;\n" +
//                "C:\\Users\\aye\\.m2\\repository\\com\\squareup\\protoparser\\3.1.5\\protoparser-3.1.5.jar;\n" +
//                "C:\\Users\\aye\\.m2\\repository\\commons-io\\commons-io\\2.6\\commons-io-2.6.jar;\n" +
//                "C:\\Users\\aye\\.m2\\repository\\org\\slf4j\\slf4j-api\\1.7.2\\slf4j-api-1.7.2.jar;\n" +
//                "C:\\Program Files\\JetBrains\\IntelliJ IDEA 2021.3.3\\lib\\idea_rt.jar");

    }
    static{
        sourceCode="import java.io.ByteArrayOutputStream;\n" +
                "\n" +
                "import com.baidu.bjf.remoting.protobuf.*;\n" +
                "\n" +
                "import java.util.*;\n" +
                "\n" +
                "import com.baidu.bjf.remoting.protobuf.utils.*;\n" +
                "\n" +
                "import com.google.protobuf.*;\n" +
                "\n" +
                "import java.io.IOException;\n" +
                "\n" +
                "import java.lang.reflect.*;\n" +
                "\n" +
                "import com.baidu.bjf.remoting.protobuf.code.*;\n" +
                "\n" +
                "\n" +
                "public class School$$JProtoBufClass implements com.baidu.bjf.remoting.protobuf.Codec<School>{\n" +
                "    private com.google.protobuf.Descriptors.Descriptor descriptor;\n" +
                "\n" +
                "    public byte[] encode(School t) throws IOException {\n" +
                "        ByteArrayOutputStream baos = new ByteArrayOutputStream();\n" +
                "        CodedOutputStream newInstance = CodedOutputStream.newInstance(baos);\n" +
                "        doWriteTo(t, newInstance);\n" +
                "        newInstance.flush();\n" +
                "        return baos.toByteArray();\n" +
                "    }\n" +
                "\n" +
                "    public School decode(byte[] bb) throws IOException {\n" +
                "        CodedInputStream input = CodedInputStream.newInstance(bb, 0, bb.length);\n" +
                "        return readFrom(input);\n" +
                "    }\n" +
                "\n" +
                "    public int size(School t) throws IOException {\n" +
                "        int size = 0;\n" +
                "        \n" +
                "        com.google.protobuf.ByteString f_1 = null;\n" +
                "        if (!CodedConstant.isNull((java.lang.String) FieldUtils.getField(t, \"schoolLocation\"))) {\n" +
                "            f_1 = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) FieldUtils.getField(t, \"schoolLocation\"));  \n" +
                "            size += com.google.protobuf.CodedOutputStream.computeBytesSize(1,f_1);\n" +
                "        }\n" +
                "        \n" +
                "        \n" +
                "        Boolean f_2 = null;\n" +
                "        if (!CodedConstant.isNull((java.lang.Boolean) FieldUtils.getField(t, \"isOpen\"))) {\n" +
                "            f_2 = (java.lang.Boolean) FieldUtils.getField(t, \"isOpen\");  \n" +
                "            size += com.google.protobuf.CodedOutputStream.computeBoolSize(2,f_2.booleanValue());\n" +
                "        }\n" +
                "        \n" +
                "        \n" +
                "        Long f_3 = null;\n" +
                "        if (!CodedConstant.isNull((java.lang.Long) FieldUtils.getField(t, \"extend\"))) {\n" +
                "            f_3 = (java.lang.Long) FieldUtils.getField(t, \"extend\");  \n" +
                "            size += com.google.protobuf.CodedOutputStream.computeInt64Size(3,f_3.longValue());\n" +
                "        }\n" +
                "        \n" +
                "        \n" +
                "        return size;\n" +
                "    }\n" +
                " \n" +
                "    public void doWriteTo(School t, CodedOutputStream output)\n" +
                "            throws IOException {\n" +
                "         \n" +
                "        com.google.protobuf.ByteString f_1 = null;\n" +
                "        if (!CodedConstant.isNull((java.lang.String) FieldUtils.getField(t, \"schoolLocation\"))) {\n" +
                "            f_1 = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) FieldUtils.getField(t, \"schoolLocation\"));\n" +
                "            if (f_1!=null){output.writeBytes(1, f_1);\n" +
                "}\n" +
                "  \n" +
                "        }\n" +
                "        \n" +
                "        Boolean f_2 = null;\n" +
                "        if (!CodedConstant.isNull((java.lang.Boolean) FieldUtils.getField(t, \"isOpen\"))) {\n" +
                "            f_2 = (java.lang.Boolean) FieldUtils.getField(t, \"isOpen\");\n" +
                "            if (f_2!=null){output.writeBool(2, f_2.booleanValue());\n" +
                "}\n" +
                "  \n" +
                "        }\n" +
                "        \n" +
                "        Long f_3 = null;\n" +
                "        if (!CodedConstant.isNull((java.lang.Long) FieldUtils.getField(t, \"extend\"))) {\n" +
                "            f_3 = (java.lang.Long) FieldUtils.getField(t, \"extend\");\n" +
                "            if (f_3!=null){output.writeInt64(3, f_3.longValue());\n" +
                "}\n" +
                "  \n" +
                "        }\n" +
                "        \n" +
                "    }            \n" +
                " \n" +
                "    public void writeTo(School t, CodedOutputStream output)\n" +
                "            throws IOException {\n" +
                "        doWriteTo(t, output);\n" +
                "    }\n" +
                " \n" +
                "    public School readFrom(CodedInputStream input) throws IOException {\n" +
                "        School ret = new School();\n" +
                "\n" +
                "\t\t\n" +
                "\n" +
                "        \n" +
                "        try {\n" +
                "            boolean done = false;\n" +
                "            Codec codec = null;\n" +
                "            while (!done) {\n" +
                "                int tag = input.readTag();\n" +
                "                if (tag == 0) {\n" +
                "                    break;\n" +
                "                }\n" +
                "                \n" +
                "                if (tag == 10) {\n" +
                "                    \n" +
                "                    FieldUtils.setField(ret, \"schoolLocation\", input.readString());\n" +
                "\n" +
                "                    \n" +
                "                    \n" +
                "                    continue;\n" +
                "                }\n" +
                "                \n" +
                "                if (tag == 16) {\n" +
                "                    \n" +
                "                    FieldUtils.setField(ret, \"isOpen\", input.readBool());\n" +
                "\n" +
                "                    \n" +
                "                    \n" +
                "                    continue;\n" +
                "                }\n" +
                "                \n" +
                "                if (tag == 24) {\n" +
                "                    \n" +
                "                    FieldUtils.setField(ret, \"extend\", input.readInt64());\n" +
                "\n" +
                "                    \n" +
                "                    \n" +
                "                    continue;\n" +
                "                }\n" +
                "                               \n" +
                "                \n" +
                "                input.skipField(tag);\n" +
                "            }\n" +
                "        } catch (com.google.protobuf.InvalidProtocolBufferException e) {\n" +
                "            throw e;\n" +
                "        } catch (java.io.IOException e) {\n" +
                "            throw e;\n" +
                "        }\n" +
                "\n" +
                "        return ret;       \n" +
                "        \n" +
                "    } \n" +
                " \n" +
                " \n" +
                "     public com.google.protobuf.Descriptors.Descriptor getDescriptor() throws IOException {\n" +
                "        if (this.descriptor != null) {\n" +
                "            return this.descriptor;\n" +
                "        }\n" +
                "        com.google.protobuf.Descriptors.Descriptor descriptor =\n" +
                "                CodedConstant.getDescriptor(School.class);\n" +
                "        return (this.descriptor = descriptor);\n" +
                "    }   \n" +
                "}";
    }
    static {
        System.out.println(sourceCode);
    }
}
